/*
 * Copyright © 2017 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

$tab-header-height: 37px;
$element-selected-color: #dbdbdb;
$border-color: #cccccc;
$dark-border-color: #999999;
$option-hover-bg-color: #eeeeee;
$tab-bg-color: #aaaaaa;
$invalid-column-color: #c0392b;
$dark-icon-color: #373a3c;
$types-table-border-color: #eceeef;
$quality-bar-filled-color: #2ecc71;
$quality-bar-empty-color: #e74c3c;
$quality-bar-null-color: #95a5a6;

.dataprep-container {
  .dataprep-side-panel {
    border-left: 1px solid $border-color;
    height: 100%;
    padding: 0;

    .tabs-headers {
      height: $tab-header-height;
      display: inline-flex;
      width: 100%;

      .tab {
        flex-grow: 1;
        padding: 0 10px;
        line-height: $tab-header-height;
        cursor: pointer;
        background-color: $tab-bg-color;
        color: white;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;

        &.active {
          background-color: white;
          color: #333333;
        }

        &:not(:last-child) {
          border-right: 1px solid $border-color;
        }
      }
    }

    .tabs {
      height: 100%;

      .empty-message { margin-top: 25px; }
    }

    .tab-content {
      height: calc(100% - 37px);
      overflow: auto;
    }
  }
}

.dataprep-toggle-all-dropdown {
  .popover-content {
    padding: 0;

    .toggle-all-option {
      padding: 5px 10px;

      &:hover {
        cursor: pointer;
        background-color: $option-hover-bg-color;
      }
    }
  }
}
